var md_user=(function($,md_list){
    var app={
        listvalid:{
            rules: {
                username: {
                    required: true,
                    maxlength:50
                },
                email: {
                    required: true,
                    maxlength:50,
                    email:true
                },
                age:{
                    number:true
                }
            },
            messages: {
                username: {
                    required: "用户名不能为空",
                    maxlength: "密码不能大于50个字符"
                },
                email: {
                    required: "邮箱不能为空",
                    maxlength: "邮箱不能大于50个字符",
                        equalTo: "两次输入密码不一致嘛"
                },
                age:{
                    number:"请输入数字"
                }
            }
        }
    }
    return $.extend(true, md_list, app);
})($,md_list||{});
if(typeof md_user!=undefined){
    $(function(){
        md_user.init();
    });
}
